/*
 * Block.h
 *
 *  Created on: 27.08.2010
 *      Author: skuld
 */
#include "SDL/SDL.h"



#ifndef BLOCK_H_
#define BLOCK_H_

class Block {

public:
	// Constructor
	Block();

	// Takes key presses and adjusts the velocity
	void handleInput();

	// Moves the block
	void move();

	// Shows the block on the screen
	void show();

	//SDL_Surface* getSurface();

private:
	// X and Y offsets
	int x, y;

	// Velocity
	int xVel, yVel;

	SDL_Event event;
};

#endif /* BLOCK_H_ */
